]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Fix accessibility for application folders
authorSergio Costas Rodriguez <sergio.costas@canonical.com>
Wed, 4 Mar 2026 11:35:52 +0000 (12:35 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 14 Mar 2026 17:43:38 +0000 (18:43 +0100)
commit5cd63b804821dd7f3905d2c88ea8200a8dab5ac8
tree9d721f09d3af0a72287c12fe04e06972254f09f0
parent90a5d994a6cbe6428fa3083111b03fbb82126c63
appDisplay: Fix accessibility for application folders

Currently, application folders have a `checkbutton` role, which
is confusing for the user because it's not something that
changes its checked status, but a button that opens the contents
of the folder. Also, the only indication that this is a folder
and not a "normal" application is that role, which means that an
user must know that pushbuttons are applications and checkbuttons
are folders, which is confusing.

This patch fixes this by adding the "expandable" accessible
state to the folder button, thus notifying the user that it is
an element with extra elements inside.

It also adds the folder name and the type as the full container
label when opening a folder, thus ensuring that the user knows
where they are.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4109>
(cherry picked from commit 6b01ddb1b445045696d1b3f70d644be77e1f03b4)
js/ui/appDisplay.js